The previous patch still caused warnings. Ooops. That's what you get for
not compiling with -Werror.
#include <glib.h>
#include <glib/gprintf.h>
-#include <gmodule.h>
#include <errno.h>
#include <string.h>
#define SOEXT ("." G_MODULE_SUFFIX)
#endif
-#include "gtk/gtkimmodule.h"
+#include "gtk/gtkimcontextinfo.h"
#include "gtk/gtkversion.h"
-#undef GDK_DEPRECATED
-#undef GDK_DEPRECATED_FOR
-#define GDK_DEPRECATED
-#define GDK_DEPRECATED_FOR(f)
+#define GDK_DISABLE_DEPRECATION_WARNINGS
#undef GTK_DISABLE_DEPRECATED
#include "gtk/deprecated/gtkrc.h"